package com.zlx.store.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (OrderRelateGoodsTab)实体类
 *
 * @author makejava
 * @since 2023-07-29 11:16:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("order_relate_goods_tab")
public class OrderRelateGoods  {

    /**
     * 代理id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;



    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;



    /**
     * 订单id
     */
    @TableField("order_id")
    private Long orderId;



    /**
     * 门店id
     */
    @TableField("store_id")
    private Long storeId;



    /**
     * 商品价格
     */
    @TableField("goods_price")
    private Double goodsPrice;



    /**
     * 商品名字
     */
    @TableField("goods_name")
    private String goodsName;



    /**
     * 商品封面地址
     */
    @TableField("goods_pic")
    private String goodsPic;



    /**
     * 商品数量
     */
    @TableField("goods_count")
    private Integer goodsCount;

}

